ComponentFunctionImplemented
TheComponentFunctionImplemented
function allows you to determine whether a component supports a specified request. Your application can use this function to determine a component's capabilities.
FUNCTION ComponentFunctionImplemented (ci: ComponentInstance; ftnNumber: Integer) : LongInt;
ci
- A component instance that specifies the connection for this operation. Your application obtains the component instance from the
OpenDefaultComponent
orOpenComponent
function.ftnNumber
- A request code value. See Inside Macintosh: QuickTime Components for information about the request codes supported by the components supplied by Apple with QuickTime. For other components, see the documentation supplied with the component for request code values.
DESCRIPTION
TheComponentFunctionImplemented
function returns a long integer indicating whether the component supports the specified request. You can interpret this long integer as if it were a Boolean value. If the returned value isTRUE
, the component supports the specified request. If the returned value isFALSE
, the component does
not support the request.